const cityHooks = {
    state:{
        num:10,
        city:"武汉"
    },
    mutations:{
        changeStateCity(state,val){
            state.city = val
        }
    },
    actions:{
        changeCity(ctx,val){
            ctx.commit("changeStateCity",val)
        }

    },
}
export default cityHooks